﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mappings;

namespace Apollo.Modules.Commissioning
{
    [NHibernateEntity(Table = "v_CommissionPayrollsCurrent")]
    public class CommissionPayrollCurrent
    {
        public CommissionPayrollCurrent() { }

        [PrimaryKey]
        public virtual int Id { get; set; }
        
        [BelongsTo(Column = "ID_Employee")]
        public virtual Employee Employee { get; set; }

        [BelongsTo(Column = "ID_CommissionCalculation")]
        public virtual CommissionCalculation CommissionCalculation { get; set; }

        [Property]
        public virtual double GrossValue { get; set; }

        [Property]
        public virtual double CACH { get; set; }

        [Property]
        public virtual double CS { get; set; }

        [Property]
        public virtual double CR { get; set; }

        /// <summary>
        /// Grup Viata
        /// </summary>
        [Property]
        public virtual double GV { get; set; }

        [Property]
        public virtual double CAT { get; set; }

        [Property]
        public virtual double CATP { get; set; }

        [Property]
        public virtual double BPROD { get; set; }

        [Property]
        public virtual double CATOD { get; set; }

        [Property]
        public virtual double BWOD { get; set; }

        [Property]
        public virtual double BTEAM { get; set; }

        [Property]
        public virtual double BOFFICE { get; set; }

        [Property]
        public virtual double BPC { get; set; }

        [Property]
        public virtual double BPOD { get; set; }

        [Property]
        public virtual double BOR { get; set; }

        [Property]
        public virtual double BODR { get; set; }

        [Property]
        public virtual double BBD { get; set; }

        [Property]
        public virtual double CAD { get; set; }

        [Property]
        public virtual double CACM { get; set; }

        [Property]
        public virtual double BST { get; set; }

        [Property]
        public virtual double CATR { get; set; }

        [Property]
        public virtual double CHR { get; set; }

        /// <summary>
        /// Garantie
        /// </summary>
        [Property]
        public virtual double Quaranty { get; set; }

        [Property(Column = "GCLBK")]
        public virtual double QuarantyCLBK { get; set; }

        [Property]
        public virtual double CLBK { get; set; }

        [Property]
        public virtual double NCF { get; set; }


        // Astea trebuiesc sa inlocuiasca pe cele curente
        [Property]
        public virtual double G { get; set; }

        [Property]
        public virtual double GCR { get; set; }

        [Property]
        public virtual double GCC { get; set; }

        [Property]
        public virtual double ACT { get; set; }


    }
}
